package com.hdaccp.shuiguoD.service;


import com.hdaccp.shuiguoD.entity.Gongying;
import com.hdaccp.shuiguoD.entity.Yuangong;

import java.util.List;

public interface yuangongService {
    public List<Yuangong> getAll() ;
    public long findTotalCount(String yname) ;
    public List<Yuangong> findAll(String yname, int offset, int limit) ;
    public int delte(int yid);

    public int zj(Yuangong yuangong);

    public int update(Yuangong yuangong);
    //根据ID查询
    public Yuangong queryById(int yid);
}
